<?php

class Db_Relation {

	public $name;

	public $alias;
	
	public $local = "id";
	
	public $foreign;

	public function __construct ($name, array $params = array()) {
		$this->name = $name;
		foreach ($params as $key => $value) {
			$this->$key = $value;
		}
	}

}